package com.itheima.service;

import com.itheima.pojo.Exercise;
import com.itheima.pojo.Food;
import com.itheima.pojo.Intervention;

import java.util.List;

public interface HealthInterventionService {

    List<Exercise> querySport();

    List<Food> queryFood();

    Boolean verifyOrderStatus(Integer id);

    Boolean verifyIntervention(Integer id);

    Integer addIntervention(Intervention intervention);


    void addInterventionAndExercise(Integer interventionId, Integer[] sportIds);

    void addInterventionAndFood(Integer interventionId, Integer[] foodIds);

    List<String> queryAdvice(Integer id);

    List<Integer> queryExerciseByIntervention(Integer interventionId);

    List<Integer> queryFoodByIntervention(Integer interventionId);

    Integer queryInterventionId(Integer id);

    void deleteIntervention(Integer orderId);

    void deleteInterventionAndExercise(Integer id);

    void deleteInterventionAndFood(Integer id);

}
